package com.liuyi.netty.im.test.im.listeners;

import com.liuyi.netty.im.test.modular.Kpi;
import io.netty.channel.Channel;
import lombok.extern.slf4j.Slf4j;

/**
 * 接受消息
 *
 * @author Mr.Fmy
 * @since 2022/1/19
 */
@Slf4j
public class ImSessionListRefreshListener extends ImAbstractListener<Void> {

    @Override
    public void handler0(Channel channel, Void data) {
        Kpi.msgReceiveNum();
    }

    @Override
    public Void convert(Object data) {
        return null;
    }
}
